package com.rightsidetech.commom.base;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class DelReq implements Serializable {

    @NotNull(message = "id不能为空")
    @Min(value = 1, message = "id不能小于1")
    private Long id;
}
